Route Handlers (1/3)
What are Route handlers?
    Route Handlers allow you to create custom request handlers for a given route using the Web Request and Response APIs.
    • Route Handlers are only available inside the app directory. They are the equivalent of API Routes inside the pages directory meaning you do not need to use API Routes and Route Handlers together.
    • Route Handlers are defined in a route.js|ts file inside the app directory
    • Route Handlers can be nested anywhere inside the app directory, similar to page.js and layout.js. But there cannot be a route.js file at the same route segment level as page.js.
    • Route Handlers are not cached by default. You can, however, opt into caching for GET methods. Other supported HTTP methods are not cached.